﻿$.widget("trintech.reconautocomplete", $.ui.autocomplete, {
    _renderMenu: function (ul, items) {
        var self = this;
        var countLimitedText = null;
        $.each(items, function (index, item) {
            if (item.value == "74944683-A219-4371-912F-2772523B5CAA") {
                countLimitedText = item.label;
            }
            else {
                self._renderItem(ul, item);
            }
        });
        if (countLimitedText != null) {
            ul.append("<li><span class='pickListLimitWarning'>" + countLimitedText + "</span></li>");
        }
    }
});